/*
徐志涛
2024.12.25
*/
package org.qengine.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.qengine.vo.PaperRulesVo;
import org.qengine.entity.QuestionEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import org.qengine.entity.PaperRulesEntity;

import java.util.List;

public interface PaperRulesService extends IService<PaperRulesEntity> {
     PaperRulesEntity getPaperRules(Long ruleId);
     String  savePaperRules(PaperRulesVo paperRulesVo);
     String  delPaperRules(PaperRulesEntity entity);
     IPage<PaperRulesEntity> findPaperRulesByConditions(Long courseId, Long knowledgeSelId, Long problemSelType, Long dSelLevel,int current,int size) ;
     // 实现模糊搜索逻辑
     IPage<PaperRulesEntity> getPaperRulesPage(int current,int size);
     List<QuestionEntity> GeneratePaper(Long ruleId);
     public List<QuestionEntity> getWrongQuestions();
}
